ECC

Section: User Commands (1)
Updated: June 9,1992
Index Return to Main Contents
 

NAME

ecc -- Reed - Solomon Error Correcting Coder  

SYNOPSIS

ecc [ -edv ]  

DESCRIPTION

Ecc reads blocks of bytes from stdin, applies the (255,249,7) Reed - Solomon Error Correcting block code, and writes the resulting block to stdout. Ecc is capable of correcting three byte errors in a block of 255 bytes, and is capable of detecting more severe errors.  

OPTIONS

-e
Read blocks of 248 bytes or less from stdin, and encode them, generating six bytes of redundancy. A 256 byte code block is then written to stdout, consisting of an ASCII letter G, a length byte, 248 bytes read from stdin and padded as necessary, and the six redundancy bytes.
-d
Read blocks of 256 bytes from stdin, and decode them. Any errors discovered during the decoding process are reported to stderr. The number of bytes indicated by the length byte are then written to stdout.
-v
Write the ecc version number to stderr.
 

DIAGNOSTICS

nn byte error in block xx.
Ecc found nn error bytes in consecutive block xx, and was able to correct the errors.
unrecoverable error in block xx.
Four or more errors were detected in consecutive block xx. The flawed block is written uncorrected to stdout.
sync error in block xx.
The block sync character G was not found. This usually means bytes were added or subtracted from the stream of coded blocks.
 

AUTHOR

Paul Flaherty (paulf@Stanford.EDU)  

SEE ALSO

uuencode(1),dd(1)  

BUGS

Doesn't automatically correct dropped bytes.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DIAGNOSTICS
AUTHOR
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 17:12:47 GMT, January 16, 2023